package gov.pbc.nn.kjgl.gzjh.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;

import gov.pbc.nn.core.entity.BaseEntity;

@Entity
@Table(name = "T_WORK_CONTENT")
public class WorkContent extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@PropertyDef(label = "工作计划ID")
	@Column(name = "WORK_ID_", length = 60)
	private String workId;

	@PropertyDef(label = "处理人ID")
	@Column(name = "USER_ID_", length = 60)
	private String userId;
	
	
//	@PropertyDef(label = "科长ID")
//	@Column(name = "BANCH_ID_", length = 60)
//	private String banchId;
//	

	// 有工作计划进行中，还有工作计划完成
	@Column(name = "WORK_STATE_", length = 100)
	@PropertyDef(label = "工作状态", description = "工作状态:工作状态")
	private String workState;

	@Column(name = "WORK_COMPLETION_STATE_", length = 1000)
	@PropertyDef(label = "工作完成情况", description = "进度:进度")
	private String workCompletionState;

	@Column(name = "PLAY_COMPLETION_TIME_")
	@PropertyDef(label = "实际完成时间", description = "实际完成时间:实际完成时间")
	private Date playCompletionTime;

	@Column(name = "TYPE_")
	@PropertyDef(label = "类型", description = "0:是科长 1：具体处理人")
	private int type;
	
	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getWorkId() {
		return workId;
	}

	public void setWorkId(String workId) {
		this.workId = workId;
	}

	public String getWorkState() {
		return workState;
	}

	public void setWorkState(String workState) {
		this.workState = workState;
	}

	public String getWorkCompletionState() {
		return workCompletionState;
	}

	public void setWorkCompletionState(String workCompletionState) {
		this.workCompletionState = workCompletionState;
	}

	public Date getPlayCompletionTime() {
		return playCompletionTime;
	}

	public void setPlayCompletionTime(Date playCompletionTime) {
		this.playCompletionTime = playCompletionTime;
	}

}
